package com.dingding.bean.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @ClassName: Userorder
 * @Description: 订单表
 * @author zhaochenguang
 * @date 2015-10-10 下午01:58:43
 * @version 叮叮搭车V2.0
 */
public class Userorder {

	private String oid;// 主键ID
	private String placeOrderUserId;// 下单用户ID
	private Date setOutTime;// 出发时间
	private String payCity;// 下单城市
	private String startAddress;// 出发地址
	private Double startLongitude;// 起点经度
	private Double startLatitude;// 起点纬度
	private String endAddress;// 目的地
	private Double endLongitude;// 目的地经度
	private Double endLatitude;// 目的地纬度
	private BigDecimal distance;// 距离
	private BigDecimal payMoney;// 叮币支付金额
	private BigDecimal alipayMoney;// 支付宝支付金额
	private BigDecimal totalMoney;// 总金额
	private BigDecimal couponMoney;// 优惠金额
	private Integer number;// 人数
	private Integer redBag;// 红包
	private String message;// 留言
	private BigDecimal payDistance;// 距对方距离
	private String marker;// 标志建筑物
	private String grabOrderUserId;// 抢单用户ID
	private Date grabOrderTime;// 抢单时间
	private Integer orderStatus;// 订单状态
	private Date createTime;// 下单时间
	private Date payTime;// 订单支付时间
	private Date cancelTime;// 订单取消时间
	private Date endTime;// 乘客确认到达时间
	private Integer orderType;// 下单类型
	private Integer payType;// 支付类型(1: 支付宝支付 2:微信支付)
	private Integer cancelType;// 取消类型
	private String cancelDesc;// 订单取消原因
	private Integer cancelNumber;// 取消编号(1:司机主动取消 2:乘客主动取消)
	private Integer isLongDistance;// 1:普通 2:长途
	private String ucId;// 我的优惠券Id
	private Integer driverRcvIntegral = 0;// 车主获赠积分 默认 为 0
	private Integer psgRcvIntegral = 0;// 乘客获赠积分 默认为 0
	private Integer isComment = 1;// 是否评价过 默认 未评价过
	private String cancelUserId;//取消订单用户ID
	
	public Userorder() {
		super();
	}

	public Userorder(String oid, String placeOrderUserId, Date setOutTime, String payCity, String startAddress,
			Double startLongitude, Double startLatitude, String endAddress, Double endLongitude, Double endLatitude,
			BigDecimal distance, BigDecimal payMoney, BigDecimal alipayMoney, BigDecimal totalMoney,
			BigDecimal couponMoney, Integer number, Integer redBag, String message, BigDecimal payDistance,
			String marker, String grabOrderUserId, Date grabOrderTime, Integer orderStatus, Date createTime,
			Date payTime, Date cancelTime, Date endTime, Integer orderType, Integer payType, Integer cancelType,
			String cancelDesc, Integer cancelNumber, Integer isLongDistance, String ucId, Integer driverRcvIntegral,
			Integer psgRcvIntegral, Integer isComment, String cancelUserId) {
		super();
		this.oid = oid;
		this.placeOrderUserId = placeOrderUserId;
		this.setOutTime = setOutTime;
		this.payCity = payCity;
		this.startAddress = startAddress;
		this.startLongitude = startLongitude;
		this.startLatitude = startLatitude;
		this.endAddress = endAddress;
		this.endLongitude = endLongitude;
		this.endLatitude = endLatitude;
		this.distance = distance;
		this.payMoney = payMoney;
		this.alipayMoney = alipayMoney;
		this.totalMoney = totalMoney;
		this.couponMoney = couponMoney;
		this.number = number;
		this.redBag = redBag;
		this.message = message;
		this.payDistance = payDistance;
		this.marker = marker;
		this.grabOrderUserId = grabOrderUserId;
		this.grabOrderTime = grabOrderTime;
		this.orderStatus = orderStatus;
		this.createTime = createTime;
		this.payTime = payTime;
		this.cancelTime = cancelTime;
		this.endTime = endTime;
		this.orderType = orderType;
		this.payType = payType;
		this.cancelType = cancelType;
		this.cancelDesc = cancelDesc;
		this.cancelNumber = cancelNumber;
		this.isLongDistance = isLongDistance;
		this.ucId = ucId;
		this.driverRcvIntegral = driverRcvIntegral;
		this.psgRcvIntegral = psgRcvIntegral;
		this.isComment = isComment;
		this.cancelUserId = cancelUserId;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getPlaceOrderUserId() {
		return placeOrderUserId;
	}

	public void setPlaceOrderUserId(String placeOrderUserId) {
		this.placeOrderUserId = placeOrderUserId;
	}

	public Date getSetOutTime() {
		return setOutTime;
	}

	public void setSetOutTime(Date setOutTime) {
		this.setOutTime = setOutTime;
	}

	public String getPayCity() {
		return payCity;
	}

	public void setPayCity(String payCity) {
		this.payCity = payCity;
	}

	public String getStartAddress() {
		return startAddress;
	}

	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}

	public Double getStartLongitude() {
		return startLongitude;
	}

	public void setStartLongitude(Double startLongitude) {
		this.startLongitude = startLongitude;
	}

	public Double getStartLatitude() {
		return startLatitude;
	}

	public void setStartLatitude(Double startLatitude) {
		this.startLatitude = startLatitude;
	}

	public String getEndAddress() {
		return endAddress;
	}

	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}

	public Double getEndLongitude() {
		return endLongitude;
	}

	public void setEndLongitude(Double endLongitude) {
		this.endLongitude = endLongitude;
	}

	public Double getEndLatitude() {
		return endLatitude;
	}

	public void setEndLatitude(Double endLatitude) {
		this.endLatitude = endLatitude;
	}

	public BigDecimal getDistance() {
		return distance;
	}

	public void setDistance(BigDecimal distance) {
		this.distance = distance;
	}

	public BigDecimal getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}

	public BigDecimal getAlipayMoney() {
		return alipayMoney;
	}

	public void setAlipayMoney(BigDecimal alipayMoney) {
		this.alipayMoney = alipayMoney;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public BigDecimal getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(BigDecimal couponMoney) {
		this.couponMoney = couponMoney;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getRedBag() {
		return redBag;
	}

	public void setRedBag(Integer redBag) {
		this.redBag = redBag;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public BigDecimal getPayDistance() {
		return payDistance;
	}

	public void setPayDistance(BigDecimal payDistance) {
		this.payDistance = payDistance;
	}

	public String getMarker() {
		return marker;
	}

	public void setMarker(String marker) {
		this.marker = marker;
	}

	public String getGrabOrderUserId() {
		return grabOrderUserId;
	}

	public void setGrabOrderUserId(String grabOrderUserId) {
		this.grabOrderUserId = grabOrderUserId;
	}

	public Date getGrabOrderTime() {
		return grabOrderTime;
	}

	public void setGrabOrderTime(Date grabOrderTime) {
		this.grabOrderTime = grabOrderTime;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getCancelType() {
		return cancelType;
	}

	public void setCancelType(Integer cancelType) {
		this.cancelType = cancelType;
	}

	public String getCancelDesc() {
		return cancelDesc;
	}

	public void setCancelDesc(String cancelDesc) {
		this.cancelDesc = cancelDesc;
	}

	public Integer getCancelNumber() {
		return cancelNumber;
	}

	public void setCancelNumber(Integer cancelNumber) {
		this.cancelNumber = cancelNumber;
	}

	public Integer getIsLongDistance() {
		return isLongDistance;
	}

	public void setIsLongDistance(Integer isLongDistance) {
		this.isLongDistance = isLongDistance;
	}

	public String getUcId() {
		return ucId;
	}

	public void setUcId(String ucId) {
		this.ucId = ucId;
	}

	public Integer getDriverRcvIntegral() {
		return driverRcvIntegral;
	}

	public void setDriverRcvIntegral(Integer driverRcvIntegral) {
		this.driverRcvIntegral = driverRcvIntegral;
	}

	public Integer getPsgRcvIntegral() {
		return psgRcvIntegral;
	}

	public void setPsgRcvIntegral(Integer psgRcvIntegral) {
		this.psgRcvIntegral = psgRcvIntegral;
	}

	public Integer getIsComment() {
		return isComment;
	}

	public void setIsComment(Integer isComment) {
		this.isComment = isComment;
	}

	public String getCancelUserId() {
		return cancelUserId;
	}

	public void setCancelUserId(String cancelUserId) {
		this.cancelUserId = cancelUserId;
	}

}
